package com.kurumi.medical.mapper;

import org.apache.ibatis.annotations.Param;

import com.kurumi.medical.pojo.HospitalizationNote;
public interface HospitalizationNoteMapper {


    int deleteByPrimaryKey(Integer id);

    int insert(HospitalizationNote record);

    int insertSelective(HospitalizationNote record);


    HospitalizationNote selectByPrimaryKey(Integer id);



    int updateByPrimaryKeySelective(HospitalizationNote record);

    int updateByPrimaryKey(HospitalizationNote record);
    
    
    
    int getHospitalizationNoteCountByMrIdAndOnlyId(@Param("mrId")String mrId,@Param("visitNumber")Integer visitNumber);
    
}